<?php if (!defined('THINK_PATH')) exit();?>
  <!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>知识产权后台管理系统-管理员修改</title>
    <link href="/ip/Public/css/bootstrap.min.css" rel="stylesheet">
    <link href="/ip/Public/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="/ip/Public/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
    <link href="/ip/Public/css/plugins/dataTables/dataTables.responsive.css" rel="stylesheet">
    <link href="/ip/Public/css/plugins/dataTables/dataTables.tableTools.min.css" rel="stylesheet">
    <!-- Toastr style -->
    <link href="/ip/Public/css/plugins/toastr/toastr.min.css" rel="stylesheet">

    <!-- Gritter -->
    <link href="/ip/Public/js/plugins/gritter/jquery.gritter.css" rel="stylesheet">

    <link href="/ip/Public/css/animate.css" rel="stylesheet">
    <link href="/ip/Public/css/style.css" rel="stylesheet">

</head>
<style>
    th{
        text-align: center;
    }
</style>
<body>
    <div id="wrapper">

        <!-- start left -->
<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element"> <span>
                             </span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold"><?php echo ($_SESSION['nickname']); ?></strong>
                             </span> <span class="text-muted text-xs block">欢迎登录！</span> </span>
                    </a>
                </div>
            </li>
            <li class="active">
                <a href="/ip/admin.php/Home/Index/index"><i class="fa fa-diamond"></i> <span class="nav-label">后台首页</span> <span class="label label-primary pull-right">首页</span></a>
            </li>
            <li>
                <a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label">用户管理</span></a>
                <ul class="nav nav-second-level">
                    <li><a href="/ip/admin.php/Home/Adminer/index">管理员管理</a></li>
                    <li><a href="/ip/admin.php/Home/User/index">会员管理</a></li>
                    <li><a href="/ip/admin.php/Home/User/recovery">会员回收站</a></li>
                </ul>
            </li>
            <li>
                <a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label">网站分类管理</span></a>
                <ul class="nav nav-second-level">
                    <li><a href="/ip/admin.php/Home/Fenlei/index">查看分类</a></li>
                    <li><a href="/ip/admin.php/Home/Fenlei/add">添加分类</a></li>
                </ul>
            </li>
            <li>
                <a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label">知识产权管理</span></a>
                <ul class="nav nav-second-level">
                    <li><a href="/ip/admin.php/Home/Info/index">查看知识产权</a></li>
                </ul>
            </li>
            
            <li>
                <a href="/ip/admin.php/Home/Login/logout">
                    <i class="fa fa-sign-out"></i> 退出
                </a>
            </li>
        </ul>
</nav>
</div>
         <!-- end left -->
        <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row wrapper border-bottom white-bg page-heading">
                <div class="col-lg-10">
                    <h2>管理员密码修改</h2>
                </div>
                <div class="col-lg-2">

                </div>
            </div>
        <div class="row">
            <div class="col-lg-12">
                   <div class="col-lg-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-content">
                        <div class="hr-line-dashed"></div>
                            <form method="post" class="form-horizontal" action="/ip/admin.php/Home/Adminer/doUpdate" enctype="multipart/form-data">
                                <div class="form-group has-success"><label class="col-sm-4 control-label">输入新密码</label>

                                    <div class="col-sm-3"><input type="password" class="form-control" name="pass1" required></div>
                                </div>
                                <div class="hr-line-dashed"></div>
                                <div class="form-group has-success"><label class="col-sm-4 control-label">重复输入密码</label>

                                    <div class="col-sm-3"><input type="password" class="form-control" name="pass2" required></div>
                                </div>
                               <div class="ibox-content">
                            <div class="text-center">
                            <input type="submit" value="更新" class="btn btn-primary" data-toggle="modal">
                            </div>

                    </div>
                            </form>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    <!-- start footer -->
                    
<div class="footer">
    <div class="pull-right">
        <a href="/ip/admin.php/Home/Index/index">知识产权后台管理系统</a>
    </div>
</div>
</div>
<script type="text/javascript">
    function shifou(){
        if(confirm("年轻人，你真的想好了吗？")){
            return true;
        }else{
            return false;
        }
    }
</script>
</body>
</html>
           <!-- Mainly scripts -->
    <script src="/ip/Public/js/jquery-2.1.1.js"></script>
    <script src="/ip/Public/js/inspinia.js"></script>
    <script src="/ip/Public/js/bootstrap.min.js"></script>
    <script src="/ip/Public/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="/ip/Public/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- Flot -->
    <script src="/ip/Public/js/plugins/flot/jquery.flot.js"></script>
    <script src="/ip/Public/js/plugins/flot/jquery.flot.tooltip.min.js"></script>
    <script src="/ip/Public/js/plugins/flot/jquery.flot.spline.js"></script>
    <script src="/ip/Public/js/plugins/flot/jquery.flot.resize.js"></script>
    <script src="/ip/Public/js/plugins/flot/jquery.flot.pie.js"></script>

    <!-- Peity -->
    <script src="/ip/Public/js/plugins/peity/jquery.peity.min.js"></script>
    <script src="/ip/Public/js/demo/peity-demo.js"></script>

    <!-- Custom and plugin javascript -->

    <script src="/ip/Public/js/plugins/pace/pace.min.js"></script>

    <!-- jQuery UI -->
    <script src="/ip/Public/js/plugins/jquery-ui/jquery-ui.min.js"></script>

    <!-- GITTER -->
    <script src="/ip/Public/js/plugins/gritter/jquery.gritter.min.js"></script>

    <!-- Sparkline -->
    <script src="/ip/Public/js/plugins/sparkline/jquery.sparkline.min.js"></script>

    <!-- Sparkline demo data  -->
    <script src="/ip/Public/js/demo/sparkline-demo.js"></script>

    <!-- ChartJS-->
    <script src="/ip/Public/js/plugins/chartJs/Chart.min.js"></script>
<script>
        var s_url=window.location.pathname;
        var now_url = '';
        for(var i = 0;i<$("#side-menu li").length;i++){
            now_url=$("#side-menu li a").eq(i).attr("href");
            if(now_url == s_url){
                $("#side-menu a").eq(i).parent().addClass("active");
                $("#side-menu a").eq(i).parent().parent().parent().addClass("active");
                $("#side-menu a").eq(i).parent().parent().addClass("in");
            }else{
                $("#side-menu a").eq(i).parent().removeClass("active");
            }
        }
        </script>
    <!-- Toastr -->

            <!-- end footer -->
        </div>